Menu Item Selection Constants
To set the default selection for the Show pop-up menu of an Open dialog box, your application passes the
kNavCtlSelectAllType
constant, described in Custom Control Setting Constants
, in the
selector
parameter of the
NavCustomControl
function NavCustomControl
and passes one of the constants defined in the
NavPopupMenuItem
data type in the
parms
parameter of the
NavCustomControl
function.
enum {
kNavAllKnownFiles = 0,
kNavAllReadableFiles = 1,
kNavAllFiles = 2
};
typedef UInt16 NavPopupMenuItem;
Constant Descriptions
-
kNavAllKnownFiles
-
Tells Navigation Services to display all files identified as readable or translatable by your application. For more information on how to identify readable files, see Providing File Opening Options. For more information on how to specify file types for translation, see Translating Files on Open.
-
kNavAllReadableFiles
-
Tells Navigation Services to display all files identified as readable by your application. For more information on how to identify readable files, see Providing File Opening Options.
-
kNavAllFiles
-
Tells Navigation Services to display all files.
© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)